/*
 * About.java
 *
 * Created on May 12, 2010, 3:00:54 PM
 */

package at.tugraz.kmi.css.analyzer.gui;

import javax.swing.JComponent;

import net.guts.gui.resource.UsesBundles;

/**
 * 
 * @author Georg Öttl
 */
@UsesBundles("resources")
public class AboutPanel extends JComponent {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;

	/** Creates new form About */
	public AboutPanel() {
		initComponents();
	}

	/**
	 * This method is called from within the constructor to initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is always
	 * regenerated by the Form Editor.
	 */
	@SuppressWarnings("unchecked")
	// <editor-fold defaultstate="collapsed"
	// <editor-fold defaultstate="collapsed"
	// desc="Generated Code">//GEN-BEGIN:initComponents
	private void initComponents() {

		javax.swing.JLabel jLabelAppTitleName = new javax.swing.JLabel();
		javax.swing.JLabel jLabelVersionName = new javax.swing.JLabel();
		javax.swing.JLabel jLabelVersion = new javax.swing.JLabel();
		javax.swing.JLabel jLabelVendorName = new javax.swing.JLabel();
		javax.swing.JLabel jLabelVendor = new javax.swing.JLabel();
		javax.swing.JLabel jLabelHomepageName = new javax.swing.JLabel();
		javax.swing.JLabel jLabelAppHomepage = new javax.swing.JLabel();
		javax.swing.JLabel jLabelAppDescription = new javax.swing.JLabel();
		javax.swing.JLabel jLabelImage = new javax.swing.JLabel();
		javax.swing.JLabel jLabelAuthor = new javax.swing.JLabel();
		javax.swing.JLabel jLabelAppHomepage1 = new javax.swing.JLabel();

		setName(""); // NOI18N

		jLabelAppTitleName.setFont(jLabelAppTitleName.getFont().deriveFont(
				jLabelAppTitleName.getFont().getStyle() | java.awt.Font.BOLD,
				jLabelAppTitleName.getFont().getSize() + 4));
		jLabelAppTitleName.setText("Competence Analyzer");

		jLabelVersionName.setFont(jLabelVersionName.getFont().deriveFont(
				jLabelVersionName.getFont().getStyle() | java.awt.Font.BOLD));
		jLabelVersionName.setText("Version:");

		jLabelVersion.setText("1.0");
		jLabelVersion.setName("version"); // NOI18N

		jLabelVendorName.setFont(jLabelVendorName.getFont().deriveFont(
				jLabelVendorName.getFont().getStyle() | java.awt.Font.BOLD));
		jLabelVendorName.setText("Vendor:");
		jLabelVendorName.setName(""); // NOI18N

		jLabelVendor.setText("TUG-KMI");
		jLabelVendor.setName("vendor"); // NOI18N

		jLabelHomepageName.setFont(jLabelHomepageName.getFont().deriveFont(
				jLabelHomepageName.getFont().getStyle() | java.awt.Font.BOLD));
		jLabelHomepageName.setText("Homepage:");

		jLabelAppHomepage.setText("https://dev-css.tu-graz.ac.at");
		jLabelAppHomepage.setName("siteUrl"); // NOI18N

		jLabelAppDescription.setText(null);
		jLabelAppDescription.setName("description"); // NOI18N

		jLabelImage.setIcon(new javax.swing.ImageIcon(getClass().getResource(
                "/at/tugraz/kmi/css/analyzer/resources/target.png"))); // NOI18N

		jLabelAuthor.setFont(jLabelAuthor.getFont().deriveFont(
				jLabelAuthor.getFont().getStyle() | java.awt.Font.BOLD));
		jLabelAuthor.setText("Author");

		jLabelAppHomepage1.setText("Georg Öttl");
		jLabelAppHomepage1.setName("author"); // NOI18N

		javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
		setLayout(layout);
		layout.setHorizontalGroup(layout
				.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
				.addGroup(
						layout.createSequentialGroup()
								.addComponent(jLabelImage)
								.addPreferredGap(
										javax.swing.LayoutStyle.ComponentPlacement.RELATED)
								.addGroup(
										layout.createParallelGroup(
												javax.swing.GroupLayout.Alignment.LEADING)
												.addComponent(
														jLabelAppTitleName)
												.addGroup(
														layout.createSequentialGroup()
																.addGroup(
																		layout.createParallelGroup(
																				javax.swing.GroupLayout.Alignment.LEADING)
																				.addGroup(
																						layout.createSequentialGroup()
																								.addGroup(
																										layout.createParallelGroup(
																												javax.swing.GroupLayout.Alignment.LEADING)
																												.addComponent(
																														jLabelVersionName)
																												.addComponent(
																														jLabelVendorName)
																												.addComponent(
																														jLabelHomepageName))
																								.addPreferredGap(
																										javax.swing.LayoutStyle.ComponentPlacement.RELATED))
																				.addComponent(
																						jLabelAuthor))
																.addGroup(
																		layout.createParallelGroup(
																				javax.swing.GroupLayout.Alignment.LEADING)
																				.addGroup(
																						layout.createSequentialGroup()
																								.addComponent(
																										jLabelAppHomepage1,
																										javax.swing.GroupLayout.DEFAULT_SIZE,
																										182,
																										Short.MAX_VALUE)
																								.addGap(33,
																										33,
																										33))
																				.addComponent(
																						jLabelVersion,
																						javax.swing.GroupLayout.Alignment.TRAILING,
																						javax.swing.GroupLayout.DEFAULT_SIZE,
																						215,
																						Short.MAX_VALUE)
																				.addComponent(
																						jLabelAppHomepage,
																						javax.swing.GroupLayout.DEFAULT_SIZE,
																						215,
																						Short.MAX_VALUE)
																				.addComponent(
																						jLabelVendor,
																						javax.swing.GroupLayout.DEFAULT_SIZE,
																						215,
																						Short.MAX_VALUE)))
												.addComponent(
														jLabelAppDescription,
														javax.swing.GroupLayout.PREFERRED_SIZE,
														307,
														javax.swing.GroupLayout.PREFERRED_SIZE))
								.addContainerGap()));
		layout.setVerticalGroup(layout
				.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
				.addComponent(jLabelImage)
				.addGroup(
						layout.createSequentialGroup()
								.addContainerGap()
								.addComponent(jLabelAppTitleName)
								.addGap(23, 23, 23)
								.addGroup(
										layout.createParallelGroup(
												javax.swing.GroupLayout.Alignment.TRAILING,
												false)
												.addComponent(
														jLabelVersion,
														javax.swing.GroupLayout.DEFAULT_SIZE,
														javax.swing.GroupLayout.DEFAULT_SIZE,
														Short.MAX_VALUE)
												.addComponent(
														jLabelVersionName,
														javax.swing.GroupLayout.DEFAULT_SIZE,
														javax.swing.GroupLayout.DEFAULT_SIZE,
														Short.MAX_VALUE))
								.addPreferredGap(
										javax.swing.LayoutStyle.ComponentPlacement.RELATED)
								.addGroup(
										layout.createParallelGroup(
												javax.swing.GroupLayout.Alignment.BASELINE)
												.addComponent(jLabelVendorName)
												.addComponent(
														jLabelVendor,
														javax.swing.GroupLayout.PREFERRED_SIZE,
														17,
														javax.swing.GroupLayout.PREFERRED_SIZE))
								.addPreferredGap(
										javax.swing.LayoutStyle.ComponentPlacement.RELATED)
								.addGroup(
										layout.createParallelGroup(
												javax.swing.GroupLayout.Alignment.BASELINE)
												.addComponent(
														jLabelHomepageName)
												.addComponent(
														jLabelAppHomepage,
														javax.swing.GroupLayout.PREFERRED_SIZE,
														17,
														javax.swing.GroupLayout.PREFERRED_SIZE))
								.addPreferredGap(
										javax.swing.LayoutStyle.ComponentPlacement.RELATED)
								.addGroup(
										layout.createParallelGroup(
												javax.swing.GroupLayout.Alignment.LEADING)
												.addComponent(jLabelAuthor)
												.addComponent(
														jLabelAppHomepage1,
														javax.swing.GroupLayout.PREFERRED_SIZE,
														17,
														javax.swing.GroupLayout.PREFERRED_SIZE))
								.addPreferredGap(
										javax.swing.LayoutStyle.ComponentPlacement.RELATED,
										13, Short.MAX_VALUE)
								.addComponent(jLabelAppDescription,
										javax.swing.GroupLayout.DEFAULT_SIZE,
										84, Short.MAX_VALUE).addContainerGap()));
	}// </editor-fold>//GEN-END:initComponents

	// Variables declaration - do not modify//GEN-BEGIN:variables
	// End of variables declaration//GEN-END:variables

}
